package com.rbw.controller.req;

import javax.validation.groups.Default;

import org.hibernate.validator.constraints.NotEmpty;

/**
 * 登录参数
 * 
 * @author cuihaidong
 *
 */
public class LoginParam {

	@NotEmpty(groups = Default.class)
	private String username;

	@NotEmpty(groups = GroupA.class)
	private String password;

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

}
